package com.authsystem.mapper;

import com.authsystem.entity.Role;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface RoleMapper {
    Role selectRoleWithMenusById(Long roleId);
    Role selectRoleWithMenusByRoleKey(String roleKey);
    List<Role> selectAllRoles();
}